parse more recent name sections#5
Conversation
This adds support for parsing name sections emitted by recent wasm toolchains, such as clang.
|
Thanks Nickolai! The change seems quite reasonable upon a quick read, but when I attempted to test it there are apparently more issues that get hit on modern clang on the few examples I tried. I'd like to fix up the various issues to allow it to start working again on more modern clang, but in the meanwhile, could you let me know the particular clang/wasi-sdk/... version you're using so that we can at least modernize things up to that point before looking further? It would also make it easier for me to test the changes on this PR so that we can at least get this PR (and #4) in. Also, given that the rWasm |
|
For this PR, here's a small test case, on Arch Linux: with the current latest version of rWasm, I get: with the change in this PR, I get: |
This adds support for parsing name sections emitted by recent wasm toolchains, such as clang.